Skip to content

[Agents] Default agent queries to alphabetical ordering - #32286

Open
philipperolet wants to merge 3 commits into
mainfrom
pr/910-agent-list-ordering
Open

[Agents] Default agent queries to alphabetical ordering#32286
philipperolet wants to merge 3 commits into
mainfrom
pr/910-agent-list-ordering

Conversation

@philipperolet

@philipperolet philipperolet commented Sep 10, 2026

Copy link
Copy Markdown
Contributor

Description

Give active-agent queries a stable alphabetical order when no sort is requested. We noticed this missing default while comparing the old and new permission checks, so this PR adds it using the existing name index.

Risks

Blast radius: Active-agent lists without an explicit sort in the API and agent tools.
Risk: low

Deploy Plan

  • Deploy front-api and front workers. No migration.

Tests

  • Agent views, agent configuration, and Sidekick context tests (116 tests).
  • Default alphabetical ordering with and without a limit.

Comment thread front/lib/api/assistant/configuration/views.ts Outdated
@philipperolet philipperolet changed the title [Admin Governance] Stabilize limited agent list ordering [Agents] Stabilize limited agent list ordering Sep 10, 2026
@philipperolet philipperolet changed the title [Agents] Stabilize limited agent list ordering [Agents] Default agent queries to alphabetical ordering Sep 10, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant